Skip to content

feat(dotnet): add initial .NET SDK and installer#27

Merged
hkt74 merged 2 commits intogoogle:mainfrom
yyyu-google:dotnet
Aug 19, 2025
Merged

feat(dotnet): add initial .NET SDK and installer#27
hkt74 merged 2 commits intogoogle:mainfrom
yyyu-google:dotnet

Conversation

@yyyu-google
Copy link
Copy Markdown
Collaborator

No description provided.

@@ -0,0 +1,15 @@
# Build outputs
**/bin/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks like some of the dirs are already ignored in the root .gitignore,

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this redundant file

{
var targetDir = Path.GetDirectoryName(p) ?? Path.GetFullPath(Directory.GetCurrentDirectory());
Console.WriteLine($"[TestServerSdk] test-server not found at {p}. Installing into {targetDir}...");
BinaryInstaller.EnsureBinaryAsync(targetDir, "v0.2.5").GetAwaiter().GetResult();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to update this value when releasing a new go server version?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so far yes. I tried to automatically grep the latest, but that introduced a lot of brittles. And then I looked into typescript implementation, it is also hard coded so far

const TEST_SERVER_VERSION = 'v0.2.5';

{
static async Task<int> Main(string[] args)
{
var version = args.Length > 0 ? args[0] : "v0.2.5";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, do we need to update the version after each release?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so far yes. I tried to automatically grep the latest, but that introduced a lot of brittles. And then I looked into typescript implementation, it is also hard coded so far

const TEST_SERVER_VERSION = 'v0.2.5';

@hkt74 hkt74 merged commit b20821f into google:main Aug 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants